package com.example.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "occupation对象", description = "")
public class Occupation implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("岗位id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("部门id")
    private Integer deptId;

    @ApiModelProperty("岗位名称")
    private String occupationName;

    @ApiModelProperty("创建时间")
    private String createTime;

    @ApiModelProperty("部门唯一标识")
    private String flag;

}
